package com.schoolET.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolET.entity.AdminAndRegion;
import com.schoolET.entity.Administrators;

/**
 * <p>
 * 管理员和管理区域表 服务类
 * </p>
 *
 * @author le
 * @since 2024-06-01
 */
public interface IAdminAndRegionService extends IService<AdminAndRegion> {

    /**
     * @description: 添加管理员管理区域
     * @author: lin
     * @date: 2024/6/15 13:14
     * @param: adminAndRegion
     * @return: boolean
     **/
    boolean addAdminAndRegion(AdminAndRegion adminAndRegion);

    Administrators selectByRegionId(Integer regionId);

}
